/**
 * @filename:Minus 2023-4-27
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**   
 * @Description:TODO(后台提现实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sn_minus")
@ApiModel(value="sn_minus对象", description="后台提现表")
public class Minus extends Model<Minus> {

	private static final long serialVersionUID = 1682582324703693L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "uid") 	
	@ApiModelProperty(name = "uid" , value = "用户ID")
    private Long uid;
    
    @TableField(exist = false)
	@ApiModelProperty(name = "user_real_name" , value = "姓名")
    private String user_real_name;
    
    @TableField(value = "number") 	
	@ApiModelProperty(name = "number" , value = "充值金额")
    private Long number;
    
    @TableField(value = "remark") 	
	@ApiModelProperty(name = "remark" , value = "备注")
    private String remark;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "状态")
    private Integer status;
    
    @TableField(value = "type") 	
	@ApiModelProperty(name = "type" , value = "类型")
    private Integer type;
    
	@TableField(value = "create_time",fill=FieldFill.INSERT) 
	@ApiModelProperty(name = "create_time" , value = "充值时间")
    private Date create_time;
    
    @TableField(value = "approved_by") 	
	@ApiModelProperty(name = "approved_by" , value = "批准人")
    private Long approved_by;
    
    @TableField(value = "approve_time") 	
	@ApiModelProperty(name = "approve_time" , value = "批准时间")
    private Date approve_time;
    
    @TableField(exist = false)
	@ApiModelProperty(name = "user_name" , value = "昵称")
    private String user_name;
    
    @TableField(exist = false)
	@ApiModelProperty(name = "user_phone" , value = "电话")
    private String user_phone;
    
    @TableField(exist = false)
	@ApiModelProperty(name = "caller" , value = "客服")
    private Integer caller;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
